import {defineStore} from 'pinia'

export const useStudentStore=defineStore('student',{
    state(){
        return{
            name:'张晓明',
            age:23,
            job:'普通学员'
        }
    },
    actions:{
        modifyStudentInfo(name:string,age:number,job:string){
            this.name=name
            this.age=age
            this.job=job
        }
    }
})